package com.sise.wangzhan.myclientcofigure;

import feign.Contract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname MyConfig
 * @Description TODO
 * @Date 2020/4/16 13:14
 * @Created by wangzhan
 */
@Configuration
public class MyConfig {

    //返回一个自定义的注解翻译器
    @Bean
    public Contract feignContract(){
        return new MyContract();
    }
}
